Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Event#bounded? fails for Event with occurrence lists

#7

Failing spec

  context "bounded? bug" do
    before(:each) do
      events = RiCal.parse_string rectify_ical <<-ENDCAL
      BEGIN:VEVENT
      EXDATE:20090114T163000
      EXDATE:20090128T163000
      EXDATE:20090121T163000
      EXDATE:20090211T163000
      EXDATE:20090204T163000
      EXDATE:20090218T163000
      TRANSP:OPAQUE
      DTSTAMP;VALUE=DATE-TIME:20090107T024340Z
      CREATED;VALUE=DATE-TIME:20090107T024012Z
      DTEND;TZID=US/Mountain;VALUE=DATE-TIME:20090114T180000
      DTSTART;TZID=US/Mountain;VALUE=DATE-TIME:20090114T163000
      UID:15208112-E0FA-4A7C-954C-CFDF19D1B0E7
      RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20090219T065959Z
      SUMMARY:Wild Rose XC/Skate Training Series
      SEQUENCE:11
      LOCATION:Mountain Dell Golf Course
      END:VEVENT
      ENDCAL
      @event = events.first
    end

    it "should be able to enumerate occurrences" do
      @event.should be_bounded
    end
  end

Causes a method_missing for bounded? on OccurrenceEnumerator

Reported by Rick DeNatale · May 21st, 2009 @ 07:54 PM

State: invalid
Milestone: none
Assigned to: Rick DeNatale Rick DeNatale

Activity

  1. Rick DeNatale
    Rick DeNatale
    • Assigned user set to Rick DeNatale
    • State changed from new to invalid

    I created #8 Failure using bounded? on Event with exdates as a duplicate by mistake and closed it.

    May 21st, 2009 @ 08:04 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.